projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9de6e3
)
; * src/term.c (syms_of_term): Pretend Android uses TERMINFO.
author
Po Lu
<luangruo@yahoo.com>
Mon, 1 May 2023 13:28:40 +0000
(21:28 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 1 May 2023 13:28:40 +0000
(21:28 +0800)
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index 2fa06d71f03938f3fdb10dc2aaa107c3c5deaaac..3b5619ff93e525d3186e98f6d2a08bcd28ddd1f3 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-4660,7
+4660,7
@@
syms_of_term (void)
DEFVAR_BOOL ("system-uses-terminfo", system_uses_terminfo,
doc: /* Non-nil means the system uses terminfo rather than termcap.
This variable can be used by terminal emulator packages. */);
-#if
def TERMINFO
+#if
defined TERMINFO || (defined HAVE_ANDROID && !defined ANDROID_STUBIFY)
system_uses_terminfo = 1;
#else
system_uses_terminfo = 0;